﻿using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
using EnvDTE;
using EnvDTE80;

namespace RunVistaGadget31.AdditionalApplicationsWrappers
{
    class SidebarSettingsRunner : ApplicationRunner
    {
        public SidebarSettingsRunner(DTE2 applicationObject)
            : base(applicationObject, false)
        {

        }

        public SidebarSettingsRunner(DTE2 applicationObject, bool isRunAsWinApp)
            : base(applicationObject, isRunAsWinApp)
        {

        }

        public override string GetAppArguments()
        {
            String GadgetArgs = " /cpl";
            return GadgetArgs;
        }

        public override string GetOutputAndRunApplication()
        {

            base.CalledApplicationPath = "c:\\" + Environment.SpecialFolder.ProgramFiles + Path.DirectorySeparatorChar + "Windows Sidebar\\sidebar.exe";

            return base.GetOutputAndRunApplication();
        }

    }
}
